package com.abbas.CayTcore.retrofit

import com.abbas.CayTcore.entity.NetBean
import com.abbas.CayTcore.entity.vo.InfoVO
import com.abbas.CayTcore.entity.vo.ScheduleVO
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.POST
import retrofit2.http.Query

interface Api {

    @GET("/info/allInfo")
    fun getAllInfo(): Call<NetBean<InfoVO>>

    @POST("schedule/nowProduct")
    fun getNowProduct(@Query("departmentId") departmentId: Int,@Query("jobId")jobId: Int): Call<NetBean<ScheduleVO>>




}